package com.ldgk.pim.client.util;


import com.google.gwt.core.client.GWT;
import com.google.gwt.event.shared.HandlerManager;
import com.ldgk.pim.client.presenter.MarkerPresenter;
import com.ldgk.pim.client.presenter.PlacePresenter;
import com.ldgk.pim.client.rpc.PlacesService;
import com.ldgk.pim.client.rpc.PlacesServiceAsync;
import com.ldgk.pim.client.view.MapView;
import com.ldgk.pim.client.view.gwt.PlaceViewNativeGWTImpl;

/**
 * General utility class. 
 * @version 1.0
 *
 */
public class Util {
	
	public static HandlerManager eventbus = new HandlerManager(Util.class);
	public static PlacePresenter distributionPlacePresenter = new PlacePresenter(new PlaceViewNativeGWTImpl());
	public static MarkerPresenter markerPresenter;
	public static MapView mapView;
	public static PlacesServiceAsync persistenceService = (PlacesServiceAsync) GWT.create(PlacesService.class);
}
